github.com/gotd/td/internal/mtproto.badMessageError.Code (field)

6 uses

	github.com/gotd/td/internal/mtproto (current package)
		handle_bad_msg.go#L13: 	Code    int
		handle_bad_msg.go#L36: 	}[c.Code]
		handle_bad_msg.go#L38: 		return fmt.Sprintf("bad msg error code %d", c.Code)
		handle_bad_msg.go#L55: 		c.rpc.NotifyError(bad.BadMsgID, &badMessageError{Code: bad.ErrorCode})
		handle_bad_msg.go#L63: 		c.rpc.NotifyError(bad.BadMsgID, &badMessageError{Code: bad.ErrorCode, NewSalt: bad.NewServerSalt})
		rpc.go#L34: 		if errors.As(err, &badMsgErr) && badMsgErr.Code == codeIncorrectServerSalt {